//
//  UIButton+url.m
//  YouMin_iOS
//
//  Created by lanou3g on 15/12/12.
//  Copyright © 2015年 wey. All rights reserved.
//

#import "UIButton+url.h"
#import <objc/runtime.h>

const NSString *myKey = @"key";
@implementation UIButton (url)

- (NSString *)url{
    return objc_getAssociatedObject(self, &myKey);
}

- (void)setUrl:(NSString *)url{

    objc_setAssociatedObject(self, &myKey, url, OBJC_ASSOCIATION_RETAIN);
}

@end
